--[[

        shop.lua
        exported by excel2lua.py
        from file:shop.xlsx

--]]

local _data = {
  [1] = {id = 1,tab = 1,item_type = 1,item_value = 1,item_size = 10,price_type = 5,price_value = 1,price_size = 400,name = '小血瓶堆',},
  [2] = {id = 2,tab = 1,item_type = 1,item_value = 2,item_size = 10,price_type = 5,price_value = 1,price_size = 800,name = '大血瓶堆',},
  [3] = {id = 3,tab = 1,item_type = 1,item_value = 3,item_size = 10,price_type = 5,price_value = 1,price_size = 400,name = '小蓝瓶堆',},
  [4] = {id = 4,tab = 1,item_type = 1,item_value = 4,item_size = 10,price_type = 5,price_value = 1,price_size = 800,name = '大蓝瓶堆',},
  [5] = {id = 5,tab = 1,item_type = 1,item_value = 5,item_size = 10,price_type = 5,price_value = 1,price_size = 600,name = '一堆小经验书',},
  [6] = {id = 6,tab = 1,item_type = 1,item_value = 6,item_size = 10,price_type = 5,price_value = 1,price_size = 2800,name = '一堆中经验书',},
  [7] = {id = 7,tab = 1,item_type = 1,item_value = 7,item_size = 10,price_type = 5,price_value = 1,price_size = 8000,name = '一堆大经验书',},
  [8] = {id = 8,tab = 2,item_type = 2,item_value = 2,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [9] = {id = 9,tab = 2,item_type = 2,item_value = 3,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [10] = {id = 10,tab = 2,item_type = 2,item_value = 4,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [11] = {id = 11,tab = 2,item_type = 2,item_value = 5,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [12] = {id = 12,tab = 2,item_type = 2,item_value = 6,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [13] = {id = 13,tab = 2,item_type = 2,item_value = 7,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [14] = {id = 14,tab = 2,item_type = 2,item_value = 8,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [15] = {id = 15,tab = 2,item_type = 2,item_value = 9,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [16] = {id = 16,tab = 2,item_type = 2,item_value = 10,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [17] = {id = 17,tab = 2,item_type = 2,item_value = 11,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [18] = {id = 18,tab = 2,item_type = 2,item_value = 12,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [19] = {id = 19,tab = 2,item_type = 2,item_value = 13,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [20] = {id = 20,tab = 2,item_type = 2,item_value = 14,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [21] = {id = 21,tab = 2,item_type = 2,item_value = 15,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [22] = {id = 22,tab = 2,item_type = 2,item_value = 16,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [23] = {id = 23,tab = 2,item_type = 2,item_value = 17,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [24] = {id = 24,tab = 2,item_type = 2,item_value = 18,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [25] = {id = 25,tab = 3,item_type = 3,item_value = 1,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [26] = {id = 26,tab = 3,item_type = 3,item_value = 2,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [27] = {id = 27,tab = 3,item_type = 3,item_value = 3,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [28] = {id = 28,tab = 3,item_type = 3,item_value = 4,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [29] = {id = 29,tab = 3,item_type = 3,item_value = 5,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [30] = {id = 30,tab = 3,item_type = 3,item_value = 6,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [31] = {id = 31,tab = 3,item_type = 3,item_value = 7,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [32] = {id = 32,tab = 3,item_type = 3,item_value = 8,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [33] = {id = 33,tab = 3,item_type = 3,item_value = 9,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [34] = {id = 34,tab = 3,item_type = 3,item_value = 10,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [35] = {id = 35,tab = 3,item_type = 3,item_value = 11,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [36] = {id = 36,tab = 3,item_type = 3,item_value = 12,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [37] = {id = 37,tab = 3,item_type = 3,item_value = 13,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [38] = {id = 38,tab = 3,item_type = 3,item_value = 14,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [39] = {id = 39,tab = 3,item_type = 3,item_value = 15,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [40] = {id = 40,tab = 3,item_type = 3,item_value = 16,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [41] = {id = 41,tab = 3,item_type = 3,item_value = 17,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [42] = {id = 42,tab = 3,item_type = 3,item_value = 18,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [43] = {id = 43,tab = 3,item_type = 3,item_value = 19,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [44] = {id = 44,tab = 3,item_type = 3,item_value = 20,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [45] = {id = 45,tab = 3,item_type = 3,item_value = 21,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
  [46] = {id = 46,tab = 3,item_type = 3,item_value = 22,item_size = 1,price_type = 5,price_value = 1,price_size = 9000,name = '',},
}

local id_to_index={
   [1] = 1,
   [2] = 2,
   [3] = 3,
   [4] = 4,
   [5] = 5,
   [6] = 6,
   [7] = 7,
   [8] = 8,
   [9] = 9,
   [10] = 10,
   [11] = 11,
   [12] = 12,
   [13] = 13,
   [14] = 14,
   [15] = 15,
   [16] = 16,
   [17] = 17,
   [18] = 18,
   [19] = 19,
   [20] = 20,
   [21] = 21,
   [22] = 22,
   [23] = 23,
   [24] = 24,
   [25] = 25,
   [26] = 26,
   [27] = 27,
   [28] = 28,
   [29] = 29,
   [30] = 30,
   [31] = 31,
   [32] = 32,
   [33] = 33,
   [34] = 34,
   [35] = 35,
   [36] = 36,
   [37] = 37,
   [38] = 38,
   [39] = 39,
   [40] = 40,
   [41] = 41,
   [42] = 42,
   [43] = 43,
   [44] = 44,
   [45] = 45,
   [46] = 46,
}

local shop={}

function shop.length() 
   return #_data 
end 

function shop.indexOf(index) 
   return _data[index] 
end 

function shop.get(id) 
  return shop.indexOf(id_to_index[id])
end 

return shop